package com.ruoyi.dmpdatacollect.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 源数据查询语句-变量生成策略对象 dmp_dcollect_task_variablegen
 * 
 * @author MquanZeng
 * @date 2021-12-17
 */
public class DmpDcollectTaskVariablegen extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 任务ID */
    @Excel(name = "任务ID")
    private Integer taskId;

    /** 源数据查询语句中的变量 */
    @Excel(name = "源数据查询语句中的变量")
    private String variable;

    /** SQL语句变量值生成类型 */
    @Excel(name = "SQL语句变量值生成类型")
    private String varGentype;

    /** 日期时间格式 */
    @Excel(name = "日期时间格式")
    private String datetimeVarformat;

    /** 变量值 */
    @Excel(name = "变量值")
    private String varValue;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setTaskId(Integer taskId) 
    {
        this.taskId = taskId;
    }

    public Integer getTaskId() 
    {
        return taskId;
    }
    public void setVariable(String variable) 
    {
        this.variable = variable;
    }

    public String getVariable() 
    {
        return variable;
    }
    public void setVarGentype(String varGentype) 
    {
        this.varGentype = varGentype;
    }

    public String getVarGentype() 
    {
        return varGentype;
    }
    public void setDatetimeVarformat(String datetimeVarformat) 
    {
        this.datetimeVarformat = datetimeVarformat;
    }

    public String getDatetimeVarformat() 
    {
        return datetimeVarformat;
    }
    public void setVarValue(String varValue) 
    {
        this.varValue = varValue;
    }

    public String getVarValue() 
    {
        return varValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("variable", getVariable())
            .append("varGentype", getVarGentype())
            .append("datetimeVarformat", getDatetimeVarformat())
            .append("varValue", getVarValue())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
